package io.renren.modules.poschangetest.controller;

import io.renren.modules.poschangetest.entity.PoschangetestEntity;
import io.renren.modules.poschangetest.service.PoschangetestService;
import io.renren.modules.poschangetest.service.PoschangetestoutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-24 09:49:51
 */
@RestController
@RequestMapping("poschangetest/poschangetestout")
public class PoschangetestoutController {
    @Autowired
    private PoschangetestoutService poschangetestoutService;


    @GetMapping("testout")
    public List<PoschangetestEntity> testout(){
        return poschangetestoutService.selectAllOut();
    }
}
